package com.edu.system.domain;

import com.edu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 发布-班级关系对象 t_publish_class
 * 
 * @author xxxx
 * @date 2023-12-27
 */
public class TPublishClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 类型 1通知 2校园风采 */
    private Integer type;

    /** 通知/校园风采id */
    private Long tId;

    /** 班级id */
    private Long classId;

    private Integer noticeType;

    /** 名称 非数据库字段*/
    private String title;

    /** 班级 非数据库字段*/
    private String className;

    /** 生效时间 非数据库字段*/
    private String startEndTime;

    public Integer getNoticeType() {
        return noticeType;
    }

    public void setNoticeType(Integer noticeType) {
        this.noticeType = noticeType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getStartEndTime() {
        return startEndTime;
    }

    public void setStartEndTime(String startEndTime) {
        this.startEndTime = startEndTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void settId(Long tId)
    {
        this.tId = tId;
    }

    public Long gettId()
    {
        return tId;
    }
    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("tId", gettId())
            .append("classId", getClassId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
